// pages/member/detailBill.js
var req = require('../../interfaceImpl.js');
var config = require('../../interfaceConfig.js');
var app = getApp();
var Record = '';
Page({
    onLoad: function (options) {
        return req.BillDetails(options.id, options.types, app.globalData.token).then(res => {
            console.log(res.data);
            if (res.data.success) {
                this.setData({ Record: res.data.data,id:options.id,types: options.types})
                return;
            }
            wx.showModal({
                title: '获取失败',
                content: res.data.data,
                showCancel: false,
                success: function (res) {
                }
            })
        })
    },
})